

const config = {
    bundlePolicy: 'balanced',
    iceTransportPolicy: "all",//  public relay
    rtcpMuxPolicy : 'negotiate',
    iceServers: [
        {
            urls: "stun:stun.l.google.com:19302",
            username: "huang",
            credential: "123456"
        }
    ]
};

function TestStun() {

    rtc = new RTCPeerConnection(config)
}